package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;

@Data
@ApiModel("用户好友分组创建参数")
public class UserFriendGroupCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "userId参数缺失")
    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @NotNull(message = "toUserId参数缺失")
    @ApiModelProperty(value = "对方用户ID")
    private String toUserId;

    @NotNull(message = "groupName参数缺失")
    @ApiModelProperty(value = "分组名")
    private String groupName;

    @NotNull(message = "type参数缺失")
    @ApiModelProperty(value = "类型 0=正常 1=特别关注")
    private Integer type;

    @NotNull(message = "extend参数缺失")
    @ApiModelProperty(value = "扩展字段")
    private String extend;

}
